//
//  ReadListCell.m
//  Leisure
//
//  Created by xalo on 16/6/29.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import "ReadListCell.h"


@interface ReadListCell ()
@property (weak, nonatomic) IBOutlet UILabel *content;//内容
@property (weak, nonatomic) IBOutlet UILabel *name;//专题
@property (weak, nonatomic) IBOutlet UIImageView *coverimg;//背景图

@end


@implementation ReadListCell
-(void)setCellWithModel:(id)model{
    ReadListModel *readListModel = model;
    [self.coverimg sd_setImageWithURL:[NSURL URLWithString:readListModel.coverimg]];
    self.content.text = readListModel.content;
    self.name.text = readListModel.title;
    
    
    
}

@end
